package com.ls.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ls.common.PageModel;

import com.ls.system.entity.SysPermission;
import com.ls.system.mapper.SysPermissionMapper;
import com.ls.system.service.SysPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ls
 * @since 2025-04-15
 */
@Service
public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, SysPermission> implements SysPermissionService {

    @Override
    public Page<SysPermission> pageWithMenu(Page<SysPermission> page, PageModel pageModel) {
        return baseMapper.selectWithMenu(page,pageModel);
    }
}
